﻿package cn.edu.zjusc.POJO;

import java.util.Date;
import java.math.*;
import javax.persistence.*;

import cn.edu.zjusc.Annotation.AllInfoUpdateAccess;
import cn.edu.zjusc.Annotation.Pk;

@SuppressWarnings("serial")
@Entity
@Table(name="studentedubkinfo")
public class StudentEduBkInfo implements java.io.Serializable {
	@Pk
	private BigDecimal stuedu_id;
	@AllInfoUpdateAccess
	private String stuedu_unGrdt;
	@AllInfoUpdateAccess
	private int stuedu_unGrdtSchool;
	@AllInfoUpdateAccess
	private Date stuedu_unGrdtTime;
	@AllInfoUpdateAccess
	private String stuedu_unGrdtMajor;
	@AllInfoUpdateAccess
	private String stuedu_unGrdtNumber;
	
	@AllInfoUpdateAccess
	private String stuedu_bachelorDegree;
	@AllInfoUpdateAccess
	private Date stuedu_bachelorTime;
	@AllInfoUpdateAccess
	private int stuedu_bachelorType;
	@AllInfoUpdateAccess
	private int stuedu_bachelorSchool;
	@AllInfoUpdateAccess
	private String stuedu_bachelorMajor;
	@AllInfoUpdateAccess
	private String stuedu_bachelorNumber;
	
	@AllInfoUpdateAccess
	private String stuedu_postGrdt;
	@AllInfoUpdateAccess
	private int stuedu_postGrdtSchool;
	@AllInfoUpdateAccess
	private Date stuedu_postGrdtTime;
	@AllInfoUpdateAccess
	private String stuedu_postGrdtMajor;
	@AllInfoUpdateAccess
	private String stuedu_postGrdtNumber;
	
	@AllInfoUpdateAccess
	private String stuedu_moDDegree;
	@AllInfoUpdateAccess
	private Date stuedu_moDTime;
	@AllInfoUpdateAccess
	private int stuedu_moDType;
	@AllInfoUpdateAccess
	private int stuedu_moDSchool;
	@AllInfoUpdateAccess
	private String stuedu_moDMajor;
	@AllInfoUpdateAccess
	private String stuedu_moDNumber;
	@AllInfoUpdateAccess
	private String stuedu_awards;
	
	public StudentEduBkInfo(){
		this.stuedu_id = new BigDecimal(0);
	}
	
	@Id
	@Column(name="ID")
	public BigDecimal getStuedu_id() {
		return stuedu_id;
	}
	public void setStuedu_id(BigDecimal stuedu_id) {
		this.stuedu_id = stuedu_id;
	}
	@Column(name="UnGrdt")
	public String getStuedu_unGrdt() {
		return stuedu_unGrdt;
	}
	public void setStuedu_unGrdt(String stuedu_unGrdt) {
		this.stuedu_unGrdt = stuedu_unGrdt;
	}
	@Column(name="UnGrdtSchool")
	public int getStuedu_unGrdtSchool() {
		return stuedu_unGrdtSchool;
	}
	public void setStuedu_unGrdtSchool(int stuedu_unGrdtSchool) {
		this.stuedu_unGrdtSchool = stuedu_unGrdtSchool;
	}
	@Column(name="UnGrdtTime")
	public Date getStuedu_unGrdtTime() {
		return stuedu_unGrdtTime;
	}
	public void setStuedu_unGrdtTime(Date stuedu_unGrdtTime) {
		this.stuedu_unGrdtTime = stuedu_unGrdtTime;
	}
	@Column(name="UnGrdtMajor")
	public String getStuedu_unGrdtMajor() {
		return stuedu_unGrdtMajor;
	}
	public void setStuedu_unGrdtMajor(String stuedu_unGrdtMajor) {
		this.stuedu_unGrdtMajor = stuedu_unGrdtMajor;
	}
	@Column(name="UnGrdteNumber")
	public String getStuedu_unGrdtNumber() {
		return stuedu_unGrdtNumber;
	}
	public void setStuedu_unGrdtNumber(String stuedu_unGrdtNumber) {
		this.stuedu_unGrdtNumber = stuedu_unGrdtNumber;
	}
	@Column(name="BachelorDegree")
	public String getStuedu_bachelorDegree() {
		return stuedu_bachelorDegree;
	}
	public void setStuedu_bachelorDegree(String stuedu_bachelorDegree) {
		this.stuedu_bachelorDegree = stuedu_bachelorDegree;
	}
	@Column(name="BachelorTime")
	public Date getStuedu_bachelorTime() {
		return stuedu_bachelorTime;
	}
	public void setStuedu_bachelorTime(Date stuedu_bachelorTime) {
		this.stuedu_bachelorTime = stuedu_bachelorTime;
	}
	@Column(name="BachelorType")
	public int getStuedu_bachelorType() {
		return stuedu_bachelorType;
	}
	public void setStuedu_bachelorType(int stuedu_bachelorType) {
		this.stuedu_bachelorType = stuedu_bachelorType;
	}
	@Column(name="BachelorSchool")
	public int getStuedu_bachelorSchool() {
		return stuedu_bachelorSchool;
	}
	public void setStuedu_bachelorSchool(int stuedu_bachelorSchool) {
		this.stuedu_bachelorSchool = stuedu_bachelorSchool;
	}
	@Column(name="BachelorMajor")
	public String getStuedu_bachelorMajor() {
		return stuedu_bachelorMajor;
	}
	public void setStuedu_bachelorMajor(String stuedu_bachelorMajor) {
		this.stuedu_bachelorMajor = stuedu_bachelorMajor;
	}
	@Column(name="BachelorNumber")
	public String getStuedu_bachelorNumber() {
		return stuedu_bachelorNumber;
	}
	public void setStuedu_bachelorNumber(String stuedu_bachelorNumber) {
		this.stuedu_bachelorNumber = stuedu_bachelorNumber;
	}
	@Column(name="PostGrdt")
	public String getStuedu_postGrdt() {
		return stuedu_postGrdt;
	}
	public void setStuedu_postGrdt(String stuedu_postGrdt) {
		this.stuedu_postGrdt = stuedu_postGrdt;
	}
	@Column(name="PostGrdtSchool")
	public int getStuedu_postGrdtSchool() {
		return stuedu_postGrdtSchool;
	}
	public void setStuedu_postGrdtSchool(int stuedu_postGrdtSchool) {
		this.stuedu_postGrdtSchool = stuedu_postGrdtSchool;
	}
	@Column(name="PostGrdtTime")
	public Date getStuedu_postGrdtTime() {
		return stuedu_postGrdtTime;
	}
	public void setStuedu_postGrdtTime(Date stuedu_postGrdtTime) {
		this.stuedu_postGrdtTime = stuedu_postGrdtTime;
	}
	@Column(name="PostGrdtMajor")
	public String getStuedu_postGrdtMajor() {
		return stuedu_postGrdtMajor;
	}
	public void setStuedu_postGrdtMajor(String stuedu_postGrdtMajor) {
		this.stuedu_postGrdtMajor = stuedu_postGrdtMajor;
	}
	@Column(name="PostGrdtNumber")
	public String getStuedu_postGrdtNumber() {
		return stuedu_postGrdtNumber;
	}
	public void setStuedu_postGrdtNumber(String stuedu_postGrdtNumber) {
		this.stuedu_postGrdtNumber = stuedu_postGrdtNumber;
	}
	@Column(name="MoDDegree")
	public String getStuedu_moDDegree() {
		return stuedu_moDDegree;
	}
	public void setStuedu_moDDegree(String stuedu_moDDegree) {
		this.stuedu_moDDegree = stuedu_moDDegree;
	}
	@Column(name="moDTime")
	public Date getStuedu_moDTime() {
		return stuedu_moDTime;
	}
	public void setStuedu_moDTime(Date stuedu_moDTime) {
		this.stuedu_moDTime = stuedu_moDTime;
	}
	@Column(name="MoDType")
	public int getStuedu_moDType() {
		return stuedu_moDType;
	}
	public void setStuedu_moDType(int stuedu_moDType) {
		this.stuedu_moDType = stuedu_moDType;
	}
	@Column(name="MoDSchool")
	public int getStuedu_moDSchool() {
		return stuedu_moDSchool;
	}
	public void setStuedu_moDSchool(int stuedu_moDSchool) {
		this.stuedu_moDSchool = stuedu_moDSchool;
	}
	@Column(name="MoDMajor")
	public String getStuedu_moDMajor() {
		return stuedu_moDMajor;
	}
	public void setStuedu_moDMajor(String stuedu_moDMajor) {
		this.stuedu_moDMajor = stuedu_moDMajor;
	}
	@Column(name="MoDNumber")
	public String getStuedu_moDNumber() {
		return stuedu_moDNumber;
	}
	public void setStuedu_moDNumber(String stuedu_moDNumber) {
		this.stuedu_moDNumber = stuedu_moDNumber;
	}
	@Column(name="Awards")
	public String getStuedu_awards() {
		return stuedu_awards;
	}
	public void setStuedu_awards(String stuedu_awards) {
		this.stuedu_awards = stuedu_awards;
	}
	/*
	@OneToOne
	@JoinColumn(name="UnGrdtSchool",nullable=false, insertable=false, updatable=false)
	public UniversityCode getStuedu_unGrdtSchoolBean() {
		return stuedu_unGrdtSchoolBean;
	}
	public void setStuedu_unGrdtSchoolBean(UniversityCode stuedu_unGrdtSchoolBean) {
		this.stuedu_unGrdtSchoolBean = stuedu_unGrdtSchoolBean;
	}
	
	@OneToOne
	@JoinColumn(name="BachelorSchool",nullable=false, insertable=false, updatable=false)
	public UniversityCode getStuedu_bachelorSchoolBean() {
		return stuedu_bachelorSchoolBean;
	}
	public void setStuedu_bachelorSchoolBean(
			UniversityCode stuedu_bachelorSchoolBean) {
		this.stuedu_bachelorSchoolBean = stuedu_bachelorSchoolBean;
	}
	
	@OneToOne
	@JoinColumn(name="PostGrdtSchool",nullable=false, insertable=false, updatable=false)	
	public UniversityCode getStuedu_postGrdtSchoolBean() {
		return stuedu_postGrdtSchoolBean;
	}
	public void setStuedu_postGrdtSchoolBean(
			UniversityCode stuedu_postGrdtSchoolBean) {
		this.stuedu_postGrdtSchoolBean = stuedu_postGrdtSchoolBean;
	}
	
	@OneToOne
	@JoinColumn(name="MoDSchool",nullable=false, insertable=false, updatable=false)	
	public UniversityCode getStuedu_moDSchoolBean() {
		return stuedu_moDSchoolBean;
	}
	public void setStuedu_moDSchoolBean(UniversityCode stuedu_moDSchoolBean) {
		this.stuedu_moDSchoolBean = stuedu_moDSchoolBean;
	}
	
	*/
}
